package com.lh.builder.improve;

public class Client {
	public static void main(String[] args) {

		//盖普通房子
		CommonHouse commonHouse = new CommonHouse();

		//准备创建房子的指挥者
		HouseDirector houseDirector = new HouseDirector(commonHouse);
		houseDirector.constructHouse();

		System.out.println("--------------");

		//盖高楼房子
		HighBuilding highBuilding = new HighBuilding();

		//准备创建房子的指挥者
		HouseDirector houseDirector2 = new HouseDirector(highBuilding);
		houseDirector2.constructHouse();
	}
}
